-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GHC 9.12 #151
base: master
Are you sure you want to change the base?
GHC 9.12 #151
Conversation
This is a work in progress. And if I run
It fails with
And that span is not in the new AST. So I am not sure if the refact test file needs updating |
I am down to 3 failures, all of which are perhaps "external"
Caused by a spacing change in ghc-exactprint where there is now a new LHS counter initialisation to 0 not 1, to match nested logic, but gives off by one at the top level. The next two are related to the refact hint input not matching the span, because the AST shows up differently. I am not sure how to deal with them
|
related hlint issue ndmitchell/hlint#1628 |
I have updated ghc-exactprint at alanz/ghc-exactprint#139 which should enable this last bug to be fixed. I will see about a release tomorrow. |
For this branch as it is it fails with the test Structure7.hs
If I use ghc-exactprint at https://github.com/alanz/ghc-exactprint/tree/ghc-9.12-delta-ast then that test passes, but we get a failure on Structure8
|
And the Structure8 problem is fixed with alanz/ghc-exactprint@2265b71 I made a new ghc-exacprint release This one should be good to go now. If/when the tests pass |
Ping @zliu41 Will you be able to take this over the line and make a release? |
Thanks @alanz! I'm a bit tied up at the moment but will get to it as soon as I can. I'll see whether all old GHC versions still work - hopefully they still do, otherwise I can make a release that only supports 9.12. |
Update for GHC 9.12.1